#!/bin/sh
git add .
git commit -m "$1$2"

echo "开始提交代码"
git push origin master

echo "开始编译打包"
npm run build  #打包

path=/srv/www/web_crm/env
echo "部署到$path"
cd dist && scp -r . deploy@106.14.17.85:$path
